#ifndef __LISTBOX_H_ 
#define __LISTBOX_H_ 

#include <sstream>
#include <PeopleData.h>
#include <RadioButton.h>
#include <vector>
using std::vector;

typedef vector<PeopleData> PeopleVector;

struct ListBox
{   
	virtual void display(std::ostream& os) = 0;    
	virtual ~ListBox() {}
};
 
class ListBoxPeople:public ListBox
{    
public:
	ListBoxPeople();
	virtual void display(std::ostream& os);
	void addPeople(PeopleData& peopleData);
	void formatOutput(std::ostream& os, PeopleData& peopleData);
private:
	void OutputLineTerminal(std::ostream& os,PeopleVector::size_type index);
	PeopleVector  peopleVector_m;
}; 
#endif
